﻿@model YiYiTong.Rocket.Model.HuodongShareModel
@{
    Layout = null;
    var viewModel = Model ?? new HuodongShareModel();
}
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
    <!-- UC强制全屏 -->
    <meta name="full-screen" content="yes">
    <!-- QQ强制全屏 -->
    <meta name="x5-fullscreen" content="true">
    <title>@viewModel.share_title</title>
    <link rel="shortcut icon" href="~/Content/favicon.ico">
    <script src="~/Content/js/common.js"></script>
    <link rel="stylesheet" href="~/Content/css/common.css">
    <link rel="stylesheet" href="~/Content/css/dropload.css" />
    <link rel="stylesheet" href="~/Content/css/share.css">
</head>
<script>

    var seq_id = @viewModel.seq_id;
</script>
<body>

    <div align="center" style="width:100%;">
        <img src="@viewModel.imgurl" style="width:90%;" />
        @if (viewModel.huodong_status == 2)
        {
            <div class="status">活动已结束</div>
        }
    </div>
    <div class="container">
        <div class="content">
            <div class="lists invitationCon">
            </div>
        </div>
    </div>

    <script src="~/Content/js/jquery-1.11.3.min.js"></script>
    <script src="~/Content/js/dropload.min.js"></script>
    <script src="~/Content/js/base64.min.js "></script>
    <script src="~/Content/js/ajax.js "></script>
    <script src="~/Content/js/template.js"></script>
    <script src="~/Content/js/share/index.js"></script>
    <script type="text/html" id="allList">
        <%for(i=0;i
        <list.length;i++){%>
            <div class="billItem">
                <div class="topInfo">
                    <div class="top1">
                        <span class="num"><%=list[i].goods_id%></span>
                        <span class="text">料号</span>
                        <span class="mpn"><%=list[i].mpn%></span>
                    </div>
                    <div class="info"></div>
                    <div class="brand">品牌：<%=list[i].brand_name%></div>
                    <div class="type">类别：<%=list[i].category_name%></div>
                    <div class="dc"> DC号：<%=list[i].dcn%></div>
                    <%if(list[i].product_desc != ""){%>
                    <div class="desc clearfix">
                        <div class="fl descLabel">描述： </div>
                        <div class="descTxt fl"><%=list[i].product_desc%></div>
                    </div>
                    <%}%>
                    <div class="picture">
                        <%for(j=0;j<list[i].imglist.length;j++){%>
                            <div class="itemPic">
                                <img src="<%=list[i].imglist[j].img_url%>?x-oss-process=style/small" />
                            </div>
                            <%}%>
                    </div>
                    <div class="bottomContent">
                        <%if(list[i].include_tax==1){%>
                        <div class="includeTax"> 含税</div>
                        <%}%>
                        <div class="stockAmount">
                            <span>库存数量:</span>
                            <span class="stockAmountNum"> <%=list[i].stock_amount%><%=list[i].goods_unit%></span>
                            <span class="miniNum"> 最小订购量:</span>
                            <span class="stockAmountNum"><%=list[i].min_amount%><%=list[i].goods_unit%></span>
                        </div>
                    </div>
                    <div class="price">
                        <%if(list[i].price > 0){%>
                        <div class="unitPrice">
                            单价：<%if(list[i].currency_type == 1){%>
                            <span>$</span>
                            <%}else{%>
                            <span>￥</span>
                            <%}%>
                            <span><%=list[i].price%><i>/<%=list[i].goods_unit%></i></span>
                        </div>
                        <div class="totalPrice">
                            总价：<%if(list[i].currency_type == 1){%>
                            <span>$</span>
                            <%}else{%>
                            <span>￥</span>
                            <%}%>
                            <span><%=list[i].price * list[i].min_amount %><i>/<%=list[i].min_amount%><%=list[i].goods_unit%></i></span>
                        </div>
                        <%}%>
                    </div>
                    <%if(list[i].stock_amount < list[i].min_amount ){%>
                    <div class="saleOutImg">
                        <img src="~/Content/images/detail_sellout@2x.png" alt="">
                    </div>
                    <%}%>
                </div>
            </div>

            <%}%>
    </script>
</body>

</html>